/** 手机号 */
export const PHONE = /^1[3|4|5|6|7|8|9][0-9]{9}$/
/* 图形验证码 */
export const CAPTCHA = /^[0-9a-zA-Z]{4}$/
/** 密码 */
export const PASSWORD = /^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{8,20}$/
/** 十六进制颜色 */
export const HEX_COLOR = /^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/
/** 邮箱 */
export const EMAIL = /^([a-zA-Z0-9]+[-|_|.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[-|_|.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/

export const NAME = /^[\u4E00-\u9FA5a-zA-Z0-9_-]+$/
